Creates vCards/hCards that can be downloaded and added to your addressbook
Compatible with DokuWiki
Angua+
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.
This plugin lets you create vCard files on the fly in your wiki, which other users can download and add to their addressbook. With the folded plugin installed, you can unfold information about the person right in your wiki.
The output the plugin will produce looks like this:
Example:
{{vcard>[Organisation] Full Name <name@example.org> http://www.example.org 1976-05-03 # +41 43 534 0462 | Street Nr., ZIP City, Country}}
{{vcard>[Kriminálka] Kapitán Dastych <kapitan@dastych.cz> http://www.dastych.cz 1997-2-11 # work & mobile & home & fax | Protiprávní 12, 11000 Praha, Czech replublic }}
All information besides the name is optional. Here are the parameters:
Fields in first part (before #)
Second part (between # and |) are phone numbers separated by & in order
Third part is address; there are three field separated by commas
Development now in github, feel free to send pull requests or open issues.
The patches and fixes from this page are merged and removed from wiki page, if something important was removed, feel free to recover it from history.
Rewritten version by Bruno De Fraine further below (not merged yet)
As an alternative to the ad hoc approach of the above versions, the vcard plugin was rewritten without hardcoding any vCard field names or field structures (so without Kai's PHP class). The idea is that you write the vcard record directly between <vcard>
tags, but in a much nicer syntax. This allows you to put any (text-based) properties in the vCard. Main drawback: plain HTML presentation of the same data is no longer possible (fold or no fold).
<vcard Bill Gates> N: Gates, William, Henry, , III Nickname: Bill Org: Microsoft Title: Co-founder Email, Internet, Work: billg@microsoft.com Adr, Work: , , 1 Microsoft Way, Redmond, Washington, 98052, United States Tel, Work: +1 425-882-8080 # General Microsoft number # Comments like these are not included in the vCard Bday: 1955-10-28 URL: http://www.microsoft.com/presspass/exec/billg/ </vcard>
For more fields, check the vCard specification.
$conf['plugin']['vcard']['secret']
to some secret string)NOTE: Don't post patches, bug reports or feature requests here. Use the Bug Tracker instead. — glen
Well, i get some differences between the export with the vcard-export-url and the Firefox-Extension operator. Some time i will fix this… — Anonymous coward